<html>
<head>
  <title>信息管理——信息列表</title>
  <meta name="layout" content="common_header"/>
  <script type="text/javascript" src="${resource(dir: 'js/jquery', file: 'jquery.form.min.js', absolute: true)}"></script>
  <script type="text/javascript" src="${resource(dir: 'js/jquery', file: 'jquery.metadata.pack.js', absolute: true)}"></script>
  <script type="text/javascript" src="${resource(dir: 'js/jquery', file: 'common.custom.js', absolute: true)}"></script>

</head>
<body>
<div id="man_zone">
  <form id="submitForm" name="submitForm" action="${createLink(controller: "admin", action: 'approveEstate', absolute: true)}" method="post">
    <input type="hidden" id="id" name="id"/>
    <input type="hidden" id="flag" name="flag"/>
  </form>
  <form id="queryForm" name="queryForm" action="${createLink(controller: "scaffold", action: 'list', absolute: true)}" method="post">
    <input type="hidden" name="property" value="${params?.property}"/>
    <table width="95%" border="0" align="center" cellpadding="3" cellspacing="1" class="table_style">
      <tr>
        <td class="left_title_1">关键字</td>
        <td class="fillin">
          <input type="text" id="zlk_keywords" name="zlk_keywords" value="${params?.zlk_keywords}">
        </td>

      </tr>
      <tr>
        <td class="fillin" colspan="4" align="center"><input type="image" src="${resource(dir: '/images/admin_ui/', file: 'query1.gif', absolute: true)}" alt="查询"/></td>
      </tr>
    </table>
  </form>
  <br>
  <table cellpadding="0" cellspacing="0" width="95%" align="center" class="xtable">
    <thead>
    <tr>
      <g:sortableColumn action="list" property="dateCreated" title="发布时间" params="${params}" action="${createLink(controller:"scaffold",action:'list',absolute:true)}"/>
      <g:sortableColumn action="list" property="title" title="信息标题" params="${params}" action="${createLink(controller:"scaffold",action:'list',absolute:true)}"/>
      <g:sortableColumn action="list" property="keywords" title="关键字" params="${params}" action="${createLink(controller:"scaffold",action:'list',absolute:true)}"/>
      <g:sortableColumn action="list" property="publisher" title="发布人" params="${params}" action="${createLink(controller:"scaffold",action:'list',absolute:true)}"/>
      <th>信息照片</th>
      <th>审核</th>

    </tr>
    </thead>
    <tbody>
    <g:each in="${list.items}">
      <tr>
        <td width="10%" align="center">${it.dateCreated}</td>
        <td width="10%" align="center">${it.title}</td>
        <td width="10%" align="center">${it.keywords}</td>
        <td width="10%" align="center">${it.publisher.name}</td>
        <td width="10%" align="center">${it.picsCount}</td>
        <td width="10%" align="center">删除 退回</td>

      </tr>
    </g:each>
    </tbody>
    <tfoot>
    <tr>
      <td colspan="10" align="center">
        <g:paginate total="${list.count}" params="${params}"/>
      </td>
    </tr>
    </tfoot>
  </table>
</div>
</body>
</html>
